class condorworknode::service inherits condorworknode {
    if member($condor_list,"$hostname.$domain"){
      service { 'condor':
      ensure     => 'running',
      enable     => true,
      hasrestart => true,
      hasstatus  => true,
      }
    }
    elsif $condorforce {
      service { 'condor':
      ensure     => 'running',
      enable     => true,
      hasrestart => true,
      hasstatus  => true,
      }
    }
    else {
      service { 'condor':
      #ensure     => 'stopped',
      enable     => false,
      hasrestart => true,
      hasstatus  => true,
      }
    }
}
